package com.pkk.cloud.support.admin.dto.req.scope;

import java.io.Serializable;
import java.util.Set;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author peikunkun<br>
 * @version V1.0<br>
 * @Title: 绑定服务请求类<br>
 * @Description: <><br>
 * @date 2020/4/22 0022 下午 5:23<br>
 * @URL:[]
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class OauthScopeAddReqData implements Serializable {

  private static final long serialVersionUID = -5914021171214797838L;

  @NotBlank(message = "未知的客户端信息")
  private String clientId;

  @NotNull(message = "未知的授权服务")
  private Set<String> scopes;
}
